package com.dongchedi.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
/**
 * @author leibidong
 * @description 用户订单操作service接口
 * @date 2021/6/25
 */
public interface OrderService {
    public JSONArray searchOrderByStatus(Integer customerId,Integer orderStatus,Integer pageNum,Integer pageSize);
    public JSONObject addOrder(Integer customerId,Integer productId,String type,Integer orderAmount,Integer addressId);
    public JSONObject selectOrderDetail(Integer customerId,Integer orderId);
    public  JSONObject appayOrder(Integer customerId,Integer orderDetailId);
}
